Optimal. Leaf size=248 \[ \frac {3 x \sqrt {\text {ArcTan}(a x)}}{8 a c^2 \sqrt {c+a^2 c x^2}}-\frac {\text {ArcTan}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}-\frac {3 \sqrt {\frac {\pi }{2}} \sqrt {1+a^2 x^2} S\left (\sqrt {\frac {2}{\pi }} \sqrt {\text {ArcTan}(a x)}\right )}{8 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {\frac {\pi }{6}} \sqrt {1+a^2 x^2} S\left (\sqrt {\frac {6}{\pi }} \sqrt {\text {ArcTan}(a x)}\right )}{24 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\sqrt {1+a^2 x^2} \sqrt {\text {ArcTan}(a x)} \sin (3 \text {ArcTan}(a x))}{24 a^2 c^2 \sqrt {c+a^2 c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 248, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 7, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {5050, 5025,
5024, 3393, 3377, 3386, 3432} \begin {gather*} -\frac {3 \sqrt {\frac {\pi }{2}} \sqrt {a^2 x^2+1} S\left (\sqrt {\frac {2}{\pi }} \sqrt {\text {ArcTan}(a x)}\right )}{8 a^2 c^2 \sqrt {a^2 c x^2+c}}-\frac {\sqrt {\frac {\pi }{6}} \sqrt {a^2 x^2+1} S\left (\sqrt {\frac {6}{\pi }} \sqrt {\text {ArcTan}(a x)}\right )}{24 a^2 c^2 \sqrt {a^2 c x^2+c}}+\frac {3 x \sqrt {\text {ArcTan}(a x)}}{8 a c^2 \sqrt {a^2 c x^2+c}}+\frac {\sqrt {a^2 x^2+1} \sqrt {\text {ArcTan}(a x)} \sin (3 \text {ArcTan}(a x))}{24 a^2 c^2 \sqrt {a^2 c x^2+c}}-\frac {\text {ArcTan}(a x)^{3/2}}{3 a^2 c \left (a^2 c x^2+c\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3377
Rule 3386
Rule 3393
Rule 3432
Rule 5024
Rule 5025
Rule 5050
Rubi steps
\begin {align*} \int \frac {x \tan ^{-1}(a x)^{3/2}}{\left (c+a^2 c x^2\right )^{5/2}} \, dx &=-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\int \frac {\sqrt {\tan ^{-1}(a x)}}{\left (c+a^2 c x^2\right )^{5/2}} \, dx}{2 a}\\ &=-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\sqrt {1+a^2 x^2} \int \frac {\sqrt {\tan ^{-1}(a x)}}{\left (1+a^2 x^2\right )^{5/2}} \, dx}{2 a c^2 \sqrt {c+a^2 c x^2}}\\ &=-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \sqrt {x} \cos ^3(x) \, dx,x,\tan ^{-1}(a x)\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}}\\ &=-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \left (\frac {3}{4} \sqrt {x} \cos (x)+\frac {1}{4} \sqrt {x} \cos (3 x)\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}}\\ &=-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \sqrt {x} \cos (3 x) \, dx,x,\tan ^{-1}(a x)\right )}{8 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\left (3 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sqrt {x} \cos (x) \, dx,x,\tan ^{-1}(a x)\right )}{8 a^2 c^2 \sqrt {c+a^2 c x^2}}\\ &=\frac {3 x \sqrt {\tan ^{-1}(a x)}}{8 a c^2 \sqrt {c+a^2 c x^2}}-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\sqrt {1+a^2 x^2} \sqrt {\tan ^{-1}(a x)} \sin \left (3 \tan ^{-1}(a x)\right )}{24 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {x}} \, dx,x,\tan ^{-1}(a x)\right )}{48 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (3 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {x}} \, dx,x,\tan ^{-1}(a x)\right )}{16 a^2 c^2 \sqrt {c+a^2 c x^2}}\\ &=\frac {3 x \sqrt {\tan ^{-1}(a x)}}{8 a c^2 \sqrt {c+a^2 c x^2}}-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}+\frac {\sqrt {1+a^2 x^2} \sqrt {\tan ^{-1}(a x)} \sin \left (3 \tan ^{-1}(a x)\right )}{24 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \sin \left (3 x^2\right ) \, dx,x,\sqrt {\tan ^{-1}(a x)}\right )}{24 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (3 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (x^2\right ) \, dx,x,\sqrt {\tan ^{-1}(a x)}\right )}{8 a^2 c^2 \sqrt {c+a^2 c x^2}}\\ &=\frac {3 x \sqrt {\tan ^{-1}(a x)}}{8 a c^2 \sqrt {c+a^2 c x^2}}-\frac {\tan ^{-1}(a x)^{3/2}}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2}}-\frac {3 \sqrt {\frac {\pi }{2}} \sqrt {1+a^2 x^2} S\left (\sqrt {\frac {2}{\pi }} \sqrt {\tan ^{-1}(a x)}\right )}{8 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {\frac {\pi }{6}} \sqrt {1+a^2 x^2} S\left (\sqrt {\frac {6}{\pi }} \sqrt {\tan ^{-1}(a x)}\right )}{24 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\sqrt {1+a^2 x^2} \sqrt {\tan ^{-1}(a x)} \sin \left (3 \tan ^{-1}(a x)\right )}{24 a^2 c^2 \sqrt {c+a^2 c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.73, size = 261, normalized size = 1.05 \begin {gather*} \frac {48 \left (3 a x+2 a^3 x^3-2 \text {ArcTan}(a x)\right ) \text {ArcTan}(a x)-4 \sqrt {6 \pi } \left (1+a^2 x^2\right )^{3/2} \sqrt {\text {ArcTan}(a x)} \left (3 \sqrt {3} S\left (\sqrt {\frac {2}{\pi }} \sqrt {\text {ArcTan}(a x)}\right )-S\left (\sqrt {\frac {6}{\pi }} \sqrt {\text {ArcTan}(a x)}\right )\right )+3 \left (1+a^2 x^2\right )^{3/2} \left (3 \sqrt {-i \text {ArcTan}(a x)} \text {Gamma}\left (\frac {1}{2},-i \text {ArcTan}(a x)\right )+3 \sqrt {i \text {ArcTan}(a x)} \text {Gamma}\left (\frac {1}{2},i \text {ArcTan}(a x)\right )+\sqrt {3} \left (\sqrt {-i \text {ArcTan}(a x)} \text {Gamma}\left (\frac {1}{2},-3 i \text {ArcTan}(a x)\right )+\sqrt {i \text {ArcTan}(a x)} \text {Gamma}\left (\frac {1}{2},3 i \text {ArcTan}(a x)\right )\right )\right )}{288 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\text {ArcTan}(a x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.94, size = 0, normalized size = 0.00 \[\int \frac {x \arctan \left (a x \right )^{\frac {3}{2}}}{\left (a^{2} c \,x^{2}+c \right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \operatorname {atan}^{\frac {3}{2}}{\left (a x \right )}}{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,{\mathrm {atan}\left (a\,x\right )}^{3/2}}{{\left (c\,a^2\,x^2+c\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________